package be.phl.obstacleapp;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.devsmart.android.ui.HorizontalListView;

public class treeViewFragment extends Fragment {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

	}

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		
		final HorizontalListView listview = (HorizontalListView) getActivity()
				.findViewById(R.id.listview);
		
		ItemProblemColumnAdapter adapter = new ItemProblemColumnAdapter(getActivity(), 0);
		listview.setAdapter(adapter);

	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View rootView = inflater.inflate(R.layout.fragment_treeview, container,
				false);

		return rootView;

	}
}
